package com.jjx.service;

import com.jjx.domain.Department;
import com.jjx.domain.Result;
import com.jjx.domain.SysUser;
import org.springframework.security.core.userdetails.UserDetailsService;

import java.util.List;

public interface IUserService extends UserDetailsService {

    public List<SysUser> findAll(Integer page, Integer limit, SysUser sysUser);

    public SysUser findByCondition(SysUser user);

    public Result save(SysUser user);

    public Result update(SysUser user);

    public void delete(int[] id);
}
